﻿<navigation:Page
  x:Class="SilverlightProgressFeedback.Home" 
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" 
    xmlns:Controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input" 
    xmlns:Controls2="clr-namespace:SilverlightProgressFeedback.Controls" mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"  
  Style="{StaticResource PageStyle}">

    <Grid x:Name="LayoutRoot">
        <ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}" >

            <StackPanel x:Name="ContentStackPanel" Style="{StaticResource ContentStackPanelStyle}">

                <TextBlock x:Name="HeaderText" Style="{StaticResource HeaderTextStyle}" 
                           Text="{Binding Path=ApplicationStrings.HomePageTitle, Source={StaticResource ResourceWrapper}}"/>
                <TextBlock x:Name="ContentText" Style="{StaticResource ContentTextStyle}" 
                           Text="Home page content"/>

                <Controls2:BusyIndicator x:Name="BusyIndicator">
                    <StackPanel Orientation="Vertical">
                        <Controls:Label Content="NO RESULT YET." x:Name="label"/>
                        <Button Content="Slow Process With Busy Indicator" Click="SlowProcessWithBusyIndicatorClick" />
                        <Button Content="Slow Process With Window" Click="SlowProcessWithWindowClick" />
                    </StackPanel>
                </Controls2:BusyIndicator>
            </StackPanel>
        </ScrollViewer>
    </Grid>

</navigation:Page>